package main

import (
	"fmt"
	"net/http"
)

func hello(w http.ResponseWriter, r *http.Request) {
    fmt.Println(r.Proto)
    w.Write([]byte("hello world"))
}

func main() {
    http.HandleFunc("/hello", hello)
    http.ListenAndServeTLS(":8080", "/home/erge/san/server.crt", "/home/erge/san/server.key", nil)
}
